const { version } = require("../package.json");
const downloadDirectory = `${
  process.env[process.platform === "darwin" ? "HOME" : "USERPROFILE"]
}/.template`;
// console.log(process.platform); // windows: win32  Mac:darwin
// console.log(downloadDirectory); // C:\Users\admin/.template
// console.log(path.resolve(version)); // d:\Project\SourceCode\mine-projects\why-cli\2.0.0
module.exports = {
  version,
  downloadDirectory,
};
